package com.qf.jie.service;

import com.qf.jie.entity.po.User;
import com.qf.jie.entity.vo.RespBean;

import javax.servlet.http.HttpServletRequest;

public interface UserService extends BaseService<User> {

    /**
     * 修改自己的信息(用户名，用户类型，性别，电话)
     * @param
     * @return
     */
    RespBean updateUser(HttpServletRequest req, String username, String user_type, String sex, String phone);
    // 修改密码
    RespBean updatePassword(HttpServletRequest req, String oldPassword, String newPassword);
    // 充值
    RespBean addMoney(HttpServletRequest req, String money, String password);
}
